package com.wkk.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.annotation.sql.DataSourceDefinition;

import org.springframework.stereotype.Service;

import com.wkk.dao.UserDao;
import com.wkk.dataSource.DataSourceType;
import com.wkk.dataSource.MyDataSource;
import com.wkk.entity.User;
import com.wkk.service.UserService;

@Service

public class UserServiceImpl implements UserService {
	@Resource
	private UserDao userDao;

	@Override

	public List<User> list(Map<String, Object> map) {

		return userDao.list(map);
	}

}
